package com.wencai.daily.bean;

/**
 * @author wangpan
 * @date 2023/6/1
 */
public class FiveMinutesData {
    private String date;
    private String time;
    private String code;
    private String name;
    private double open;
    private double high;
    private double low;
    private double close;
    private double volume;
    private double amount;
    private int adjustFlag;

    public FiveMinutesData() {
    }

    public FiveMinutesData(String date, String time, String code, String name, double open, double high, double low, double close, double volume, double amount, int adjustFlag) {
        this.date = date;
        this.time = time;
        this.code = code;
        this.name = name;
        this.open = open;
        this.high = high;
        this.low = low;
        this.close = close;
        this.volume = volume;
        this.amount = amount;
        this.adjustFlag = adjustFlag;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getOpen() {
        return open;
    }

    public void setOpen(double open) {
        this.open = open;
    }

    public double getHigh() {
        return high;
    }

    public void setHigh(double high) {
        this.high = high;
    }

    public double getLow() {
        return low;
    }

    public void setLow(double low) {
        this.low = low;
    }

    public double getClose() {
        return close;
    }

    public void setClose(double close) {
        this.close = close;
    }

    public double getVolume() {
        return volume;
    }

    public void setVolume(double volume) {
        this.volume = volume;
    }

    public double getAmount() {
        return amount;
    }

    public void setAmount(double amount) {
        this.amount = amount;
    }

    public int getAdjustFlag() {
        return adjustFlag;
    }

    public void setAdjustFlag(int adjustFlag) {
        this.adjustFlag = adjustFlag;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("FiveMinutesData{");
        sb.append("date='").append(date).append('\'');
        sb.append(", time='").append(time).append('\'');
        sb.append(", code='").append(code).append('\'');
        sb.append(", name='").append(name).append('\'');
        sb.append(", open=").append(open);
        sb.append(", high=").append(high);
        sb.append(", low=").append(low);
        sb.append(", close=").append(close);
        sb.append(", volume=").append(volume);
        sb.append(", amount=").append(amount);
        sb.append(", adjustFlag=").append(adjustFlag);
        sb.append('}');
        return sb.toString();
    }
}
